import React, { Component } from 'react'
import { Route, Routes } from 'react-router-dom'
import { Router } from 'react-router-dom'
import Login from './pages/login/login'
import Main from './pages/main/main'
import Test from './pages/test/test'
import Theme from './pages/theme/themeTest'
import './app.less'
import Skin from './theme/index'


export default class App extends Component {
  render () {
    return (
      <div id={'app'}>
        <Skin theme={'blue'} />
        <Routes>
          <Route path="/" element={<Theme />} />
          <Route path="/login" element={<Login />} />
          <Route path="/main" element={<Main />} />
          <Route path="/test" element={<Test />} />
          <Route path="/test" element={<Theme />} />
        </Routes>
      </div>
    )
  }
}

